<template>
  <div id="app">
    <transition name="xiaoguo" mode="out-in">
      <router-view></router-view>
    </transition>
  </div>
</template>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
a{
  color:black;
  text-decoration: none;
}
.router-link-active{
  font-weight: bold;
  color:rgb(1,142,255);
}
.xiaoguo-enter{
  opacity: 0;
}
.xiaoguo-enter-active{
  transition: all 0.2s;
}
.xiaoguo-enter-to{
  opacity: 1;
}
.xiaoguo-leave{
  transform: scale(1)rotate(360deg);
}
.xiaoguo-leave-active{
  transition: all 0.2s;
}
.xiaoguo-leave-to{
  transform: scale(0);
}
</style>
